home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Memphis Amiga Group
/
MAG Disk (1989-12)(Memphis Amiga Group).zip
/
MAG Disk (1989-12)(Memphis Amiga Group).adf
/
TTT.DOC
< prev
next >
Wrap
Text File
|
1986-11-06
|
3KB
|
82 lines
TTT - a three-dimensional tic tac toe game.
by
Ron Charlton
This game runs under V1.3 of Workbench and CLI (it will probably run under
V1.1, and V1.2 also, but I didn't test it).
HOW TO PLAY:
The game is played on a "board" consisting of four levels. Each level
has 16 squares arranged as 4 X 4 (this will be obvious when you start the
game). The board is displayed in perspective. The object of the game is
to get four marks in a row before the computer does. The four in a row may
be in ANY straight line, e.g., left-to-right, up-and-down, front-to-back,
diagonally across a level or diagonally across the cube.
To indicate your move, point to a square and click the left mouse button.
Your move will be marked in green. After a moment's thought the computer
will respond by flashing its move in red. You alternate moves with
the computer until someone wins. Whenever someone wins the computer will
highlight the winning row. You may then start a new game or quit.
Three menus are provided. They are:
Actions
New Game N
Computer Move C
Quit Q
Instructions
"Some instructions"
About
"WhoDunIt"
The "New Game" item will redraw the board for a new game.
The "Computer Move" item will cause the computer to make a move.
The "Quit" item will exit the game.
The "Instructions" menu has an abbreviated set of instructions.
The "About" menu gives credit where credit is due (to me! :-).
All of the items on the "Actions" menu have keyboard shortcuts, e.g., you
can Quit by holding down the right-Amiga key and pressing "Q".
Selecting the "Instuctions" or "About" menu has no effect other than
displaying the information.
This program was compiled with Manx Aztec "C" V3.6a.
Changes from earlier versions:
+ A tie game is declared only when both
players have a marker in every row.
+ The computer's first move is more
random, so it seems more human-like.
|---------------------------------+--------------------------------------|
20-Aug-89
Ron Charlton
PLINK: R*CHARLTON
BITNET: charltr@utkvx1
US Snail: 9002 Balcor Circle, Knoxville, TN 37923
|---------------------------------+--------------------------------------|
p.s. The menus were developed using a program called MenuEdit, written
by David Pehrson.
It's menu-driven itself -- you build your menus onscreen and can preview
them at any time. MenuEdit will create a "filename.c" file that can be
compiled and linked with the program that uses the menus. Two lines
in the main program are all that are required to activate the menus.
You must write the code to handle the menus yourself. MenuEdit is
WONDERFUL. Mr. Pehrson's PO box has been closed and I do not know how to
reach him. He doesn't seem to be a member of CIS nor PLINK.
If you can find him $15 will get you the latest version of the program and
documentation.
p.p.s MenuEdit doesn't work under Workbench versions 1.2 and 1.3. The
version that is available from Amazing Computing on disk doesn't work,
either. Oh, well. If you have an Amiga 1000 and WB V1.1, you can use
MenuEdit.